package com.wenx.ExceptionTest;

public class MyException extends RuntimeException {
    public MyException(String message){
        super(message);
        System.out.println("message = " + message);
    }
    public MyException(int code,String message){
        super(message);
        System.out.println("code = " + code);
        System.out.println("message = " + message);
    }
}
